home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / misc / naegrey_101.lha / NaeGrey / Install_NaeGrey next >
Text File  |  1995-04-17  |  1KB  |  54 lines

  1. ; NaeGrey Install script for use with CBM installer.
  2. ; $VER: NaeGrey_Install 1.0
  3.  
  4. (set @default-dest "SYS:")
  5.  
  6. ; copy NaeGreyPatch to C:
  7. (copylib
  8.     (prompt "Copying NaeGreyPatch")
  9.     (confirm)
  10.     (help @copylib-help)
  11.     (source "NaeGreyPatch")
  12.     (dest "C:")
  13. )
  14.  
  15. ; set NaeGrey's pure flag
  16. (run "protect NaeGrey p ADD")
  17.  
  18. ; copy NaeGrey to WBStartup
  19. (copylib
  20.     (prompt "Copying NaeGrey")
  21.     (confirm)
  22.     (help @copylib-help)
  23.     (source "NaeGrey")
  24.     (dest "SYS:WBStartup")
  25.     (infos)
  26.     (noposition)
  27. )
  28.  
  29. ; find out if the user wants NaeGrey made resident
  30. (set res 
  31.     (askbool
  32.         (prompt "Do you want the NaeGrey command made resident?")
  33.         (help "If NaeGrey is not made resident then it will be loaded off disk each time a screen is opened\n" @askbool-help)
  34.         (default 1)
  35.     )
  36. )
  37.  
  38. ; set action accordingly
  39. (if (= res 1)
  40.     (set cmdline "resident SYS:WBStartup/NaeGrey\n")
  41.     (set cmdline "path SYS:WBStartup ADD\n")
  42. )
  43.  
  44. ; modify the user-startup file
  45. (startup "NaeGrey"
  46.     (prompt "Adding lines to user-startup")
  47.     (help "These lines must be added to your user-startup...\n\n"@startup-help)
  48.     (command cmdline
  49.              "C:NaeGreyPatch\n"
  50.     )
  51. )
  52.  
  53. ; and exit :)
  54. (exit "A reboot is required.\nI hope you find NaeGrey useful.\nLSK _\\\\//")